#include "mainwindow.h"
#include "ui_mainwindow.h"

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    ui->pushButton_2->adjustSize();
    ui->pushButton->adjustSize();
    ui->label->adjustSize();
    ui->label_2->adjustSize();


    ui->plainTextEdit->setPlaceholderText("This is the placeholder text");
    ui->plainTextEdit->adjustSize();

    setWindowFlags(Qt::FramelessWindowHint | Qt::Tool | Qt::WindowStaysOnTopHint | Qt::WindowFullscreenButtonHint); // 去掉标题栏,去掉任务栏显示，窗口置顶
}

MainWindow::~MainWindow()
{
    delete ui;
}

